<?php
class ModelActions extends CWidget {
    public function run() {
        $items = array(
            'index'   => Yii::t('common', 'index'),
            'create' => Yii::t('common', 'create'),
        );

        $this->render('ModelActions', array('items' => $items));
    }
}
